home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 7 / FM Towns Free Software Collection 7.iso / taropyon / guilib3 / inc / dlg / dlggets.h < prev    next >
C/C++ Source or Header  |  1993-11-30  |  1KB  |  47 lines

  1. #ifndef    _DLGGETS_H
  2. #define    _DLGGETS_H
  3.  
  4. #ifndef    _DIALOG_H
  5. #    include    <dialog.h>
  6. #endif
  7. #ifndef    _EVENT_H
  8. #    include    <event.h>
  9. #endif
  10. #ifndef    _MOUSE_H
  11. #    include    <mouse.h>
  12. #endif
  13. #ifndef    _GST_H
  14. #    include    <gst.h>
  15. #endif
  16.  
  17. typedef    struct
  18. {
  19.     UCHAR        attr;        /* 属性                    */
  20.     EVT_T        *evt;        /* イベント用            */
  21.     MOSTKP        *mosTk;        /* マウス環境保存用        */
  22.     int            ln;            /* メッセージ行数        */
  23.     char        *sp[30];    /* メッセージバッファ    */
  24.     char        *tmp;
  25.     char        *title;
  26.  
  27.     GST_T        *gst;        /* 文字列入力用ワーク    */
  28.  
  29.     COLOR        strCol;        /* 文字                */
  30.     COLOR        bacCol;        /* 背景                */
  31.     COLOR        shaCol;        /* 影                */
  32.     COLOR        hilCol;        /* ハイライト        */
  33.     COLOR        tisCol;        /* タイトル文字        */
  34.     COLOR        tibCol;        /* タイトルバック    */
  35. } DLGGETS_T;
  36.  
  37. #define    DLGGETS_COL_STR(dlg)    (((DLGGETS_T *)((dlg)->ptr))->strCol)
  38. #define    DLGGETS_COL_BAC(dlg)    (((DLGGETS_T *)((dlg)->ptr))->bacCol)
  39. #define    DLGGETS_COL_SHA(dlg)    (((DLGGETS_T *)((dlg)->ptr))->shaCol)
  40. #define    DLGGETS_COL_HIL(dlg)    (((DLGGETS_T *)((dlg)->ptr))->hilCol)
  41. #define    DLGGETS_COL_TFR(dlg)    (((DLGGETS_T *)((dlg)->ptr))->tisCol)
  42. #define    DLGGETS_COL_TBK(dlg)    (((DLGGETS_T *)((dlg)->ptr))->tibCol)
  43.  
  44. extern    int        DLG_getsSetParam( DLG_T *dlg, int bufSize, char *buf, HIST_T *histSys );
  45.  
  46. #endif
  47.